home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0169.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  1.3 KB  |  45 lines

  1. >    Should I just draw the background in a certain colour range and check
  2. > for collision with certain colours( I think this method was used in the
  3. > space ship shoot em up game which came with AMOS,-its name escapes me)
  4. > or create the background using bobs and use bob collision techniques.
  5. >    Any suggestions?
  6.  
  7. I suggest that you use bobs for things like oil slicks etc., and checking 
  8. colours for detecting when the car is off the track.
  9.  
  10. > Also there is a small amount of flicker which I would like to get rid of.
  11. > Any suggestions on removing that. i.e. Should I be using autoback 0 with 
  12. > the bob update off and bob clear,bob draw techniques?  I had a go at it
  13. > but couldn't get it working. Any suggestions on that one also would be
  14. > appreciated.
  15.  
  16. I ALWAYS use Autoback 0 and Bob Clear/Draw...  Here's how it goes.
  17.  
  18. Screen Open 0,320,200,8,Lowres
  19. Curs Off : Flash Off : Paper 0
  20. Cls : Double Buffer : Autoback 0 : Bob Update Off
  21. '
  22. ' Main Loop
  23. '
  24. Do
  25.  
  26.   Bob Clear
  27.   '
  28.   ' Move your Bobs and do all the other stuff here.
  29.   '
  30.   Bob Draw
  31.   Screen Swap
  32.   Wait Vbl
  33.  
  34. Loop
  35.  
  36.  
  37.  
  38. --
  39. GCS -d+ H+ s++:- g+ p? !au a- w+++            !Productions 1995
  40. v* C+++ UB+++A++++ P++ L++ E+ N+++       http://satelnet.org/~mentat/
  41. K+ !W--- M-- V po- Y+ t++ 5+ jx G?
  42. R tv++ D- B--- e+ u** h f r++ !n y+ "No matter where you go, there you are."
  43.  
  44.  
  45.